package com.example.person.controller;

import com.example.person.entity.Person;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
public class PersonController {

    @RequestMapping(value = "/save",method = RequestMethod.GET)
    public String  savePerson(String name){

    System.out.println("person模块保存用户"+name);
        return "保存用户:"+name;
    }
}
